Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 8 Forum

Notes/Domino 8 Forum

Previous Next
Subject: NHTTP.EXE task don't release memory in a task
Feedback Type: Problem
Product Area: Domino Server
Technical Area: Functionality
Platform: Windows 2003 server
Release: Notes and Domino 8 - GOLD
Reproducible: Always

This is a performance and memory problem...
I have develop a simple Web Agent that print after a Web request... the JSON resultate...

The part of my code is :

----------------------------------------------------------------------
Print "content-type: text/plain"
chiave_ricerca=|FIELD form="doc_cms" and FIELD CodSezione="02" and FIELD tipoprova="Singola" and FIELD marca_all="|+marca_search+|" and FIELD modello_all="|+modello_search+|" and FIELD anno_all="|+anno_search+|"|

risultato = view.FTSearch( chiave_ricerca, 0 )
If risultato>0 Then
i=0
Print |{risultato:|+Cstr(risultato)+|,righe:[|
Set doc = view.GetFirstDocument()
While Not(doc Is Nothing)

i=i+1
buffer=|{url:"|+doc.url_pagina(0)+|",dataart:"|+Cstr(doc.data_creazione(0))+|",oggetto:"|+ doc.oggetto(0)+|",sezione:"|+doc.Sezione(0)+|"}|
If i<risultato Then
buffer=buffer+","
End If
Print buffer
Set doc = view.GetNextDocument(doc)
Wend
Delete doc
Else
Print|{risultato:0 }|
End If
Call view.clear

--------------------------------------

After this simple code... I don't Now why the nhttp.exe task Up after consuming this agent..append 1 Mbytes...

I have insert on Initilize of my Agent and on event Terminate of my agent the

Lsi_info(50)
Lsi_info(51)

So that I can see that LS Memory occuped and OS memory occuped...

But... This is the result :

Inizialize -->
LS Occuped -->2512840
OS Occuped -->2914716

Terminate -->
LS Occuped -->2479448
OS Occuped -->2881516

I don't understand...for LSI_INFO the code release the memory in theory...

I have then Delete all object and Erase all Array..but this don't resolve the problem...

I don't understand why in my task manager I see that nhttp.exe add 1 Megabyte of memory after any calling of my agent...


Feedback number WEBB78YDPV created by ~James Asawemaroni on 11/15/2007

Status: Open
Comments:

NHTTP.EXE task don't release memory... (~James Asawemar... 15.Nov.07)
. . Possibly due to caching or a memory... (~James Brenukon... 15.Nov.07)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS